package com.yjd.comm.sms.model;

import com.yjd.comm.base.model.Model;

/**
 * 短信模板
 * 
 * @author ready
 * @date 2014-8-7
 */
public class SmsTemplateModel extends Model {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 模板编号
	 */
	private Long idSmsTemplate;
	/**
	 * 模板编码，唯一
	 */
	private String code;
	/**
	 * 模板内容，可以使用${}参数作为占位符，付${address}
	 */
	private String content;
	/**
	 * 发送通道
	 */
	private Long idSmsChannel;
	/**
	 * 优先级
	 */
	private Integer priority = 1;
	/**
	 * 允许最大发送失败次数
	 */
	private Integer maxFailure = 1;
	/**
	 * 描述
	 */
	private String description;
	/**
	 * 创建人
	 */
	private Long idUserCreate;
	/**
	 * 创建时间
	 */
	private Long createTime;
	/**
	 * 最后修改人
	 */
	private Long idUserModify;
	/**
	 * 最后修改时间
	 */
	private Long modifyTime;
	
	/**
	 * 是否立即发送，0：否，1:是，默认为0
	 */
	private Integer is_then_send;

	public Long getIdSmsTemplate() {
		return idSmsTemplate;
	}

	public void setIdSmsTemplate(Long idSmsTemplate) {
		this.idSmsTemplate = idSmsTemplate;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getIdSmsChannel() {
		return idSmsChannel;
	}

	public void setIdSmsChannel(Long idSmsChannel) {
		this.idSmsChannel = idSmsChannel;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getMaxFailure() {
		return maxFailure;
	}

	public void setMaxFailure(Integer maxFailure) {
		this.maxFailure = maxFailure;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getIdUserCreate() {
		return idUserCreate;
	}

	public void setIdUserCreate(Long idUserCreate) {
		this.idUserCreate = idUserCreate;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getIdUserModify() {
		return idUserModify;
	}

	public void setIdUserModify(Long idUserModify) {
		this.idUserModify = idUserModify;
	}

	public Long getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getIs_then_send() {
		return is_then_send;
	}

	public void setIs_then_send(Integer is_then_send) {
		this.is_then_send = is_then_send;
	}
	
}
